#!/bin/sh
# features selection
if [ $# -eq 2 ]
then
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'B'$2'M/' 'binHist' 0 0.0001 &
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'B'$2'M/' 'binHist' 0.5 0.0001 &
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'B'$2'M/' 'scaleHist' 10 0.0001 &

elif [ $# -eq 1 ]
then
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'/' 'binHist' 0 0.0001 &
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'/' 'binHist' 0.5 0.0001 &
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'/' 'scaleHist' 10 0.0001 &

elif [ $# -eq 4 ]
then
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'B'$2'M/' 'binHist' 0 0.0001 $3 $4 &
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'B'$2'M/' 'binHist' 0.5 0.0001 $3 $4 &
	sudo python ./model/algorithms.py '/space/outputlogsTerry'$1'B'$2'M/' 'scaleHist' 10 0.0001 $3 $4 &

elif [ $# -eq 6 ]
then
	sudo python ./model/algorithms.py '/space/'$1'B'$2'M_'$3'_'$4'_0.0001' $3 $4 $5 $6

else
	echo '1 or 2 or 4 or 6 args please!'
fi
	

